package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easy.common.bean.SeatBean;

import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easy.common.bean.SeatBean;
import com.easy.common.bean.UserBean;

import java.util.List;

public interface ISeatService extends IService<SeatBean> {
    SeatBean getSeatById(Integer id);
    int addSeat(SeatBean seat);
    int updateSeat(SeatBean seat);
    int deleteSeat(Integer id);
    List<SeatBean> getAll(SeatBean seat);
    IPage<SeatBean> getPage(SeatBean seat,  Page<SeatBean> page);

    List<SeatBean> getSeatsByConcertId(Integer concertId);
    IPage<SeatBean> getConcertTitle(Page<SeatBean> page);
}
